package com.iotechn.unimall.core.notify;

import com.iotechn.unimall.core.exception.ServiceException;

/**
 * Created by rize on 2019/7/1.
 */
public interface SMSClient {

    public SMSResult sendRegisterVerify(String phone, String verifyCode) throws ServiceException;

    public SMSResult sendBindPhoneVerify(String phone, String verifyCode) throws ServiceException;

    public SMSResult sendResetPasswordVerify(String phone, String verifyCode) throws ServiceException;

    public SMSResult sendAdminLoginVerify(String phone, String verifyCode) throws ServiceException;

    /**
     * 给管理员发消息
     *
     * @param phone
     * @param info
     * @return
     * @throws ServiceException
     */
    public SMSResult sendToAdminApply(String phone, String info) throws ServiceException;

    public SMSResult sendToAdminAgree(String phone, String info) throws ServiceException;

    public SMSResult sendToAdminRefuse(String phone, String info) throws ServiceException;


}
